]> dgit.raspbian.org Git - gnome-shell.git/commit
brightnessManager: Handle monitor backlight brightness
authorSebastian Wick <sebastian.wick@redhat.com>
Sat, 21 Jun 2025 22:16:56 +0000 (00:16 +0200)
committerSebastian Wick <sebastian.wick@redhat.com>
Sun, 3 Aug 2025 01:34:28 +0000 (03:34 +0200)
commitd910f90ac7fe0927467624103ddffa40bc3a8bf6
treee0e9c68ff80e6940f148ffab46ea24fc71e6a21a
parent58e9923478b91b8c8b6b99dba5f8b9566919c9eb
brightnessManager: Handle monitor backlight brightness

This implements a backlight manager which creates a global and multiple
per monitor BrightnessScales and updates the backlight based on the
BrightnessScales changing and the backlight changing. It shows the OSD
in response to changes.

In the future it will also handle dimming, auto brightness and keyboard
shortcuts.

The idea is that the per monitor scale changes the ratio between monitor
brighnesses and the global scale scales the monitor brightnesses
accordingly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3751>
js/js-resources.gresource.xml
js/misc/brightnessManager.js [new file with mode: 0644]
js/ui/main.js
po/POTFILES.in